﻿@using SH = EMoney.IStock.Client.Framework.StringHelper;
@using EMoney.IStock.Client.Models.QQ;
@using EMoney.IStock.Client.Framework;
@{
    //高手揭秘左侧
    ViewBag.Title = "rank_gsjm_left";

    string zpm = "", zzc = "", mcw = "", drsy = "";
    decimal zsy = 0;
    Assets assets = (Assets)ViewBag.Assets;
    if (assets != null)
    {
        AssetsData assetsdata = assets.data;
        if (assetsdata != null)
        {
            zpm = assetsdata.rankIndex;
            zsy = assetsdata.totalrate;
            zzc = assetsdata.total_zc;
            mcw = assetsdata.cangwei;
            drsy = assetsdata.rankDayIndex;
        }
    }
    string userpic = "";
    if (ViewBag.UserPic != null)
    {
        userpic = ViewBag.UserPic.ToString();
    }
    string nickname = "";
    if (ViewBag.NickName != null)
    {
        string name = ViewBag.NickName.ToString();
        nickname = EncryptionUtil.Decrypt(name);
    }
}
<h3>
    <img src="@(userpic)" /></h3>
<p class="wcp_left_font">
    <label id="userName" title="@(nickname)">@(SH.StringSubstrLen(nickname, 10))</label></p>
<ul>
    <li><span style="">总排名：</span><span style="text-align:left; width:40px;color:#fe5d63;">@(zpm)</span></li>
    <li><span style="">总收益率：</span><span style="text-align:left;width:40px;">@(SH.DecimalFormatColor(zsy,"0.00","0.00","%"))</span></li>
    <li><span style="">总资产：</span><span style="text-align:left;width:40px;color:#fe5d63;">@(zzc)</span></li>
    <li><span style="">仓位：</span><span style="text-align: left;width:40px;color:#fe5d63;">@(mcw)%</span></li>
    <li><span style="">当日收益：</span><span style="text-align: left;width:40px;">-</span></li>
</ul>
